import { sequelize } from "./sequelize.js";
import { User } from "../model/User.js";

export const sync = async () => {
    await sequelize.sync()
    console.log("连接数据库成功");

    await User.sync()
}